using System;

namespace rudp
{
	public enum DataBlockFlags : byte
	{
		DataBlock = 1,
		ReceiptRequest = 2,
		ReceiptResponse = 3,
	}

	public struct Message
	{
		public ushort 			 Id;
		public DataBlockFlags    Flags;			
		public byte   			 Index;
		public ushort 			 DataLength;
		public byte[] 		     Data;
	}
}

